Remove unnecessary eval-when-compile from definition
authorJeremy Bryant <jb@jeremybryant.net>
Sat, 24 Feb 2024 12:38:45 +0000 (12:38 +0000)
committerJustin Burkett <justin@burkett.cc>
Mon, 26 Feb 2024 02:21:53 +0000 (21:21 -0500)
* which-key.el (which-key--ignore-keys-regexp):  Remove eval-when-compile.

which-key.el

index d07c9f9d62bc4f52243452c10b08cf1729433246..a9087e2afc946cd66615ff3bd9f313bdfd32df01 100644 (file)
@@ -756,10 +756,9 @@ Used when `which-key-popup-type' is frame.")
     (regexp-opt '("mouse-" "wheel-" "remap" "drag-" "scroll-bar"
                   "select-window" "switch-frame" "which-key"))))
 (defvar which-key--ignore-keys-regexp
-  (eval-when-compile
-    (regexp-opt '("mouse-" "wheel-" "remap" "drag-" "scroll-bar"
-                  "select-window" "switch-frame" "-state"
-                  "which-key"))))
+  (regexp-opt '("mouse-" "wheel-" "remap" "drag-" "scroll-bar"
+                "select-window" "switch-frame" "-state"
+                "which-key")))
 
 (defvar which-key--pages-obj nil)
 (cl-defstruct which-key--pages